const { sequelize, DataTypes } = require('../utill/getSequelize')


const T_user_a_c_s_and_PeiPath = sequelize.define('T_user_a_c_s_and_PeiPath', {
  id: {
    type: DataTypes.INTEGER,
    primaryKey: true,
    autoIncrement: true,
  },

  // t_user_and_a_c_s_id: {
  //   type: DataTypes.INTEGER,
  //   allowNull: false,
  // },

  Path: {
    type: DataTypes.STRING,
    allowNull: false,
  },

  file_name: {
    type: DataTypes.STRING,
    allowNull: false,
  }

});





(async () => {
  try {
    await sequelize.sync({ force: false });
    console.log('All models were synchronized successfully.');
  } catch (error) {
    console.log(error);
  }

})();

//提供出去
module.exports = { T_user_a_c_s_and_PeiPath };